package com.jeesite.modules.otheroutbound.service;

import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.otheroutbound.entity.OtherOutboundBarcode;
import com.jeesite.modules.otheroutbound.dao.OtherOutboundBarcodeDao;

/**
 * 其它出库单条码Service
 * @author 码脑洞
 * @version 2025-04-13
 */
@Service
public class OtherOutboundBarcodeService extends CrudService<OtherOutboundBarcodeDao, OtherOutboundBarcode> {
	
	/**
	 * 获取单条数据
	 * @param otherOutboundBarcode
	 * @return
	 */
	@Override
	public OtherOutboundBarcode get(OtherOutboundBarcode otherOutboundBarcode) {
		return super.get(otherOutboundBarcode);
	}
	
	/**
	 * 查询分页数据
	 * @param otherOutboundBarcode 查询条件
	 * @param otherOutboundBarcode page 分页对象
	 * @return
	 */
	@Override
	public Page<OtherOutboundBarcode> findPage(OtherOutboundBarcode otherOutboundBarcode) {
		return super.findPage(otherOutboundBarcode);
	}
	
	/**
	 * 查询列表数据
	 * @param otherOutboundBarcode
	 * @return
	 */
	@Override
	public List<OtherOutboundBarcode> findList(OtherOutboundBarcode otherOutboundBarcode) {
		return super.findList(otherOutboundBarcode);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param otherOutboundBarcode
	 */
	@Override
	@Transactional
	public void save(OtherOutboundBarcode otherOutboundBarcode) {
		super.save(otherOutboundBarcode);
	}
	
	/**
	 * 更新状态
	 * @param otherOutboundBarcode
	 */
	@Override
	@Transactional
	public void updateStatus(OtherOutboundBarcode otherOutboundBarcode) {
		super.updateStatus(otherOutboundBarcode);
	}
	
	/**
	 * 删除数据
	 * @param otherOutboundBarcode
	 */
	@Override
	@Transactional
	public void delete(OtherOutboundBarcode otherOutboundBarcode) {
		super.delete(otherOutboundBarcode);
	}
	
}